<div class="area">
<h1>Odaberite žiro račun</h1>
<form action="javascript:void(0)" onsubmit="addUgovorKomitentZR(this)">
	<label for="zr" class="left">Odaberite žiro račun komitenta:</label>
	<select name="zr" id="zr" onchange="var elem=document.getElementById('novi_zr'); elem.style.display=(this.value=='-1')?'block':'none'">
		<option value="-1">novi...</option>
		{{%loop start zr}}
		<option value="{{$zr}}{!}{{$banka_id}}" {{$zr_selected}}>{{$zr}}&nbsp;-&nbsp;{{$banka_name}}</option>
		{{%loop end}}
	</select><br clear="all" />
	<fieldset id="novi_zr" style="display:{{$display_new_zr}}">
		<legend>Novi:</legend>
		<label for="new_zr" class="left">broj žiro računa:</label>
		<input type="text" name="new_zr" id="new_zr" value="{{$ugovor_komitent_zr}}" size="45" /><br clear="all" />
		<label for="new_banka" class="left">banka:</label>
		<select name="new_banka" id="new_banka">
			{{$banke_options}}
		</select>
	</fieldset>
	<input type="submit" value="sačuvaj" class="save" />
</form>
</div>